package com.lhnstart.learn.bases.exception_;

/**
 * 异常处理
 *
 * @author lhn
 * @date 2023/07/20 10:56
 * @since 1.0.0
 **/
public class Exception01 {

    public static void main(String[] args) {
        int num1 = 10;
        int num2 = 0;
        try {
            int res = num1 / num2;
        } catch (Exception e) {
            e.printStackTrace();
        }
        System.out.println("程序继续运行");

    }

}